class Myrunnaale implements Runnable {
    @Override
    public void run() {
        while(true){
            System.out.println("hello runnable");
        }
    }
}
public class Text2 {
    public static void main(String[] args) {
        Thread t = new Thread(new Myrunnaale());
        t.start();

        while(true){
            System.out.println("hello main");
        }
    }
}
